package com.ztgf.sms.models.vo;

import com.ztgf.common.enums.CodeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
/*
 * @author: chenyu.wang
 * @date: 2020-08-24
 * @description:
 */
@Data
public class SmsResVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "响应码", required = true)
    private int code = CodeEnum.SUCCESS.getCode();//响应码，默认成功

    @ApiModelProperty(value = "响应消息", required = true)
    private String msg = CodeEnum.SUCCESS.getMsg();//响应消息

    @ApiModelProperty(value = "结果对象", required = true)
    private T data = null;//结果对象
}
